package com.dq.Mapper;

import com.dq.Pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeaMapper {
    void addtea(Teacher teacher);

    Teacher findtea(Integer id);

    void update(Teacher teacher);

    List<Teacher> findAll(@Param("name") String name, @Param("teano") String teano);

    void delete(Integer id);

    List<Teacher> find();
}
